package com.laopan.elasticsearch.bean.geo;

/**
 * <p>
 *
 * </p>
 *
 * @author laopan
 * @className DistanceResult
 * @date 2021/4/20 16:52
 */

public class DistanceResult<T> {
    private String distance;
    private T data;

    public DistanceResult() {
    }

    public DistanceResult(String distance, T data) {
        this.distance = distance;
        this.data = data;
    }

    public String getDistance() {
        return distance;
    }

    public void setDistance(String distance) {
        this.distance = distance;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
